package open.tech.dawn.admin.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ApplicationConfig {

    @Value("${application.name}")
    private String name;

    @Value("${application.version}")
    private String version;

    @Value("${application.api}")
    private String api;

    public String getName() {
        return name;
    }

    public String getVersion() {
        return version;
    }

    public String getApi() {
        return api;
    }
}
